/*
 * Copyright (C) 2017 Zhengzhou grandtech Technology CO.,LTD.
 * All rights reserved.
 * Official Web Site: http://www.grandtech.com.
 * Developer Web Site: http://open.grandtech.com.
 */

package com.grandtech.oss.common.pojo;

import javax.servlet.http.HttpServletRequest;

/***
 */
public class ThreadLocalHolder {

    //appid
    private static final ThreadLocal<HttpServletRequest> th_request = new ThreadLocal<HttpServletRequest>();


    public static HttpServletRequest getRequest() {
        return th_request.get();
    }

    public static void setRequest(HttpServletRequest request) {
        th_request.set(request);
    }


}
